package com.quartzd.core.enums;

/**
 * 描述：枚举
 *
 * @author huxuehao
 **/
public enum QuartzStatus {
    REMOVE(0, "删除"),
    START(1, "开始（调度）"),
    ONCE(2, "执行一次"),
    UPDATE_CRON(3, "更新Cron");

    private final Integer value;
    private final String desc;

    public Integer value() {
        return value;
    }

    public String desc() {
        return desc;
    }

    QuartzStatus(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}
